/*
 * @Author: 冯向博
 * @Date: 2021-10-19 16:38:15
 * @LastEditTime: 2021-10-21 16:49:02
 */
import Vue from 'vue'
import App from './App'
import store from '@/store';
import uView from "uview-ui";

let vuexStore = require("@/store/$u.mixin.js");
Vue.mixin(vuexStore);

Vue.use(uView);

Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
  store,
  ...App
})

// http 拦截器 引入部分
import httpInterceptor from '@/common/http.interceptor.js'
Vue.use(httpInterceptor, app)

// http 接口 API 集中管理引入部分
import httpApi from '@/common/http.api.js'
Vue.use(httpApi, app)

// 自定义工具
import utils from '@/common/utils.js'
Vue.use(utils, app)

app.$mount()